﻿using Hrm.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Services
{
    public interface IServiceService:IBaseService<Service>
    {
        bool AddPriceType(PriceType entity);

        bool UpdatePriceType(PriceType entity);

        bool DeletePriceType(int id);

        bool AddPriceItem(PriceItem entity);

        bool DeletePriceItem(int id);

        List<PriceType> GetAllPriceType();

        PriceType GetPriceType(int id);

        List<Service> TopServices(int topNum);

        PageResponse<ServiceDto> GetPageList(PageRequest<ServiceDto> request);
    }
}
